package com.yesep.learn.design.behavioral.iterator;

/**
 * 聚合接口
 */
public interface IAggregate<T> {
    void add(T obj);

    void remove(T obj);

    IIterator<T> iterator();
}
